home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
6-Developer Demos
/
Developer Demos-Ed.
/
Macintosh School® CD-ROM Demo
/
Macintosh SchoolÆ CD-ROM Demo
/
card_120831.txt
< prev
next >
Wrap
Text File
|
1990-08-14
|
5KB
|
272 lines
-- card: 120831 from stack: in
-- bmap block id: 121208
-- flags: 4000
-- background id: 69011
-- name: Custom Templates…
----- HyperTalk script -----
on openCard
global buttonName,buttonList
set hilite of background button id buttonName to false
repeat with index = 1 to the number of lines of buttonList
set hilite of background button id line index of buttonList to false
end repeat
end openCard
on closeCard
global buttonName, buttonList
set hilite of background button id buttonName to true
repeat with index = 1 to the number of lines of buttonList
set hilite of background button id line index of buttonList to true
end repeat
end closeCard
on groupOne
if not hilite of target then
repeat with index = 2 to 10
set hilite of button id index to false
end repeat
set hilite of target to true
else
lock screen
go to card short name of target
unlock screen
end if
end groupOne
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=0 right=343 bottom=513
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 2 (button)
-- low flags: 00
-- high flags: 4000
-- rect: left=95 top=93 right=109 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Attendance Report
----- HyperTalk script -----
on mouseUp
groupOne
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=95 top=109 right=125 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=95 top=125 right=141 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 5 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=95 top=141 right=157 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 6 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=95 top=157 right=173 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 7 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=95 top=173 right=189 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 8 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=95 top=189 right=205 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 9 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=95 top=205 right=221 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 10 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=95 top=221 right=237 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 11 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=339 top=192 right=208 bottom=417
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Open
----- HyperTalk script -----
on mouseUp
lock screen
put 2 into index
repeat until hilite of card button id index
add 1 to index
end repeat
go to card short name of card button id index of this background
unlock screen
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=339 top=217 right=233 bottom=417
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Cancel
----- HyperTalk script -----
on mouseUp
lock screen
pop card
unlock screen
end mouseUp
-- part contents for background part 28
----- text -----
Abrosimoff, Mich…
Adams, Bryan
Alexander, Rick
Alexander, Susan
Allsop, Blair M.
Azimov, Isaac
Barisoff, Larissa
Bunyan, Paul
Burnyeat, Grant
Caldwell, Brian
-- part contents for background part 29
----- text -----
47
80
53
54
52
102
48
13
94
93
-- part contents for background part 30
----- text -----
Present
Present
Present
Present
Present
Present
Present
Present
Present
Present
-- part contents for background part 33
----- text -----
0 students selected